package com.liuya.safe.entitle.dao;

import com.liuya.base.BaseMapper;
import com.liuya.safe.model.SafePrivilege;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SafePrivilegeMapper extends BaseMapper<SafePrivilege> {
    int deleteByPrimaryKey(String id);

    int insert(SafePrivilege record);

    SafePrivilege selectByPrimaryKey(String id);

    List<SafePrivilege> selectAll();

    int updateByPrimaryKey(SafePrivilege record);
}